package com.zlx.xbhy.service;

import com.github.pagehelper.PageInfo;
import com.zlx.xbhy.entity.Article;
import com.zlx.xbhy.entity.User;

import java.util.List;

public interface ArticleService extends BaseService<Article,Long>{
    PageInfo<Article> selectPage(String title, Integer start, Integer pageSize);
    PageInfo<Article> selectFavoritePage(String title,Long uId, Integer start, Integer pageSize);

    List<Article> countNew();
}
